import axios from '@/ajax/axios';
import { kmData_API, SERVER_API } from '@/ajax/base';

// 获取柬埔寨疫情数据
export function getKHData(query) {
  return axios({
    url: kmData_API('/cgi-bin/covid19/km_covid19_info'),
    method: 'GET',
    data: query
  });
}

// 获取banner配置
export function getBannerListApi(query) {
  return axios({
    url: SERVER_API('/article/get_banner_list'),
    method: 'GET',
    data: query
  });
}